<?php
namespace Admin\Controller;
use Think\Controller;


class AreaController extends Controller {
	
	$AreaModel = D('Area')
	
	/**
	 * 返回所有区域
	 */
	public function getAllArea(){
		$this->ajaxReturn($AreaModel -> getAllArea());
	} 	
	
	public function updateArea(){
		$this->ajaxReturn($AreaModel -> updateArea($id, $data));
	}
	
	public function deleteArea(){
		$this->ajaxReturn($AreaModel -> deleteArea($ids));
	}
}